//
//  UIViewController+NavagitionBar.h
//  一点互助
//
//  Created by 张泊秋 on 16/8/19.
//  Copyright © 2016年 zhangboqiu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (NavagitionBar)

- (void)setupLeftItemWithImageName:(NSString *)imageName action:(SEL)action;

- (void)setupRightItemWithImageName:(NSString *)imageName action:(SEL)action;

- (void)setupCenterItemWithText:(NSString *)text action:(SEL)action;

- (void)setupBackItem;

- (void)setupRightItemWithText:(NSString *)text action:(SEL)action;

-(void)addAlertControllerWithTitle:(NSString *)title message:(NSString *)message actionNum:(NSInteger)actionNum style:(UIAlertControllerStyle)style handler:(void (^)(UIAlertAction * action)) handler;

- (UITextField *)memberTextFieldText:(NSString *)text image:(NSString *)image label:(NSString *)label;

@end
